package com.skl.resp;

public enum  C {
    SUCCESS(200,"成功"),
    FAILED(500,"失败"),
    INVALID_REQ(400,"请求有误"),
    UNAUTHORIZED(401,"重新登录"),
    FORBIDDEN(403,"没有权限"),
    ;
    private int code;
    private String msg;
    C(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
    public int getCode(){
        return code;
    }
    public String getMsg(){
        return msg;
    }
}
